<?php

require_once("../../classes/status.php");

$user = new User;
$my_id = $_POST['my_id'];
$poststatus = $_POST['poststatus'];
$user->postStatus($poststatus,$my_id);

header('location: ../../index.php');

?>